package com.jpz.serviceimp;

import com.jpz.bean.Permission;
import com.jpz.mapper.PermissionMapper;
import com.jpz.service.PermissionService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jpz
 * @since 2018-11-14
 */
@Service
@Transactional
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {
	@Autowired
	PermissionMapper permapper;
	@Override
	public List<Permission> getmymenus(Integer id) {
		return permapper.getmenus(id);
	}

}
